<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="{$site_url}/">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7 charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="favicon.ico">
<meta name="keywords" content="{$page_keywords}" />
<meta name="Description" content="{$page_description}" />
<title>{$page_title}</title>
<style>
body {
background:none repeat scroll 0 0 #FFFFFF;
color:#787878;
}

body, button, input, select, textarea, th {
font:12px/1.5 Tahoma,"hiragino sans gb",Helvetica,Arial;
}

body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, fieldset, lengend, button, input, textarea, th, td {
margin:0;
padding:0;
}
h1, h2, h3, h4, h5, h6 {
font-size:100%;
}
a {
color:#056EA1;
}

a {
text-decoration:none;
}
img {
display:block;
}

fieldset, img {
border:medium none;
}
ul, ol, li {
list-style:none outside none;
}
.clearfix {
}
.clearfix:after {
clear:both;
content:".";
display:block;
font-size:0;
height:0;
line-height:0;
visibility:hidden;
width:0;
}
</style>

</head> 
<body> 

<!-- 顶部开始 alltop.html -->
<phpscup:icon   htmlname='top2'  iconname='top2' />
<!-- 顶部结束 alltop.html -->



<div class="clearfix" style="margin:0 auto;width:960px;">

	<div  style="width:220px;float:left;margin:0 10px;overflow:hidden;">

<!-- 顶部开始 alltop.html -->
<phpscup:icon   htmlname='icon_l10'  iconname='icon_l10' />
<!-- 顶部结束 alltop.html -->

    </div>
	<div  style="width:600px;float:left;margin:0 10px;overflow:hidden;">

        <div style=" height:20px;"></div>

<style>
.mod_toolbar {
height:40px;
overflow:hidden;
}
.mod_sub_tab .current {
background:none repeat scroll 0 0 #056EA1;
color:#FFFFFF;
cursor:default;
font-weight:bold;
padding:0 10px;
}

.mod_sub_tab a {
display:inline-block;
}
.mod_sub_tab a {
display:inline-block;
padding:0 6px;
}
</style>
		
		<div class="mod_toolbar">
			<p class="mod_sub_tab ">
			
			<a href="?app=companyprot&act=index">产品信息列表</a>
			 | <a href="?app=companyprot&act=add">新增产品信息</a>
<!--             | <a href="?app=companynew&act=cagrylist">新闻分类列表</a>
             | <a href="?app=companynew&act=cagryadd">新增新闻分类</a>-->
             | <a  class="current" href="#" >修改产品信息</a>			
			
			</p>

		</div>


<form action="?app=companyprot&act=editpost" method="post">

                                   <table align="center" width="100%" cellpadding="4" cellspacing="0" border="0" class="table_style">
                                   
                                                                     
                                   
                                   
                                   <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">

	                                      <td >产品名称： (*)</td>
	                                      <td>
                                         <input type="text" name="data[title]" size="60" value="{$data.title}" id="title">
<!--                    <br/><span close="01"> 
                    颜色: 
                    <input type="text" name="data[titlecolor]" style="background:;" size="7" value="" id="titlecolor" onClick="foreColor_font();">
                    加粗: 
                    <input type="checkbox" name="data[fonttype]" value="1" >
                    </span>-->
                    
                                     </td>
                                   </tr>
                                   <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                      <td>关键字<font color=red>(标签)</font>:</td>
	                                      <td>
                                            <input type="text" name="data[keywords]" size="50" value="{$data.keywords}" id="keyword_s">
                    <select name="select2" onChange="MM_keyword(this)">
                     <option value='' selected>常用关键字</option>
		 					 <!--{foreach($keyworddata as $_key => $_value )}-->

		  <option value='{$_value}' >{$_value}</option>

		   <!--{/foreach}--> 
                    </select>
 <SCRIPT LANGUAGE="JavaScript">
<!--
function get_obj(obj){
   return document.getElementById(obj);
}

function foreColor_font()
{
  
  var arr = showModalDialog('../data/html/selcolor.htm', '', 'dialogWidth:18.5em; dialogHeight:17.5em; status:0');
  if (arr != null)  get_obj('titlecolor').value=arr;
  else  get_obj('titlecolor').focus();
  get_obj('titlecolor').style.background=arr;
}


//-->
</SCRIPT>                   
                    
                    
                    <script language="JavaScript">
<!--
function MM_keyword(selObj){ //v3.0
  va=selObj.options[selObj.selectedIndex].value
  if (va!=''){
  	if(get_obj('keyword_s').value==''){
		get_obj('keyword_s').value=va;
	}else{
		vb=get_obj('keyword_s').value;
		arr = vb.split(' ');
		for(var i=0;i<arr.length;i++){
			if(arr[i]==va){
				alert(va+",已经存在了,不能雷同");
				return ;
			}
		}
		get_obj('keyword_s').value+=" "+va;
	}
  } 
}
//-->
</script>
                    <br/>作为相关文章的索引,如多个用空格隔开 
                                          </td>
                                   </tr>
                                   <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                      <td>内容简介:</td>
	                                      <td>
	                                   <textarea name="data[jianjie]" cols="100" rows="5">{$data.jianjie}</textarea><br/>用于搜索引擎优化
	                                     </td>
                                 </tr>                                 
                                                                   
                                   
                                   
                                   <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                      <td>案例网址:</td>

	                                      <td><input type="text" name="data[anliurl]" size="60" value="{$data.anliurl}"></td>
                                  </tr>                                   
                                   
                                  
                                 <tr >
	                                      <td>相关图片:</td>
	                                      <td>
                    <phpscup:form type='duppic' width='90%' height='200' scrolling='yes' frameborder='0' size='40' name='nofield' appname='companyprot' sxdata='' />  
	                                     </td>
                                 </tr>                                 
                                                                   
                                   
                                   
                                   <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                      <td>价格:</td>

	                                      <td><input type="text" name="data[price]" size="15" value="{$data.price}">元</td>
                                  </tr>
                               
  
                            
                                  <tr >
	                                      <td>缩略图:</td>
	                                      <td>
              <phpscup:form type='ouppic' width='370' height='150' scrolling='no' frameborder='0' size='40' name='data[picurl]'  appname='companyprot'  sxdata=''  />    
	                                     </td>
                                 </tr>

                                 
                                 
                                 <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                     <td>相关设置:</td>
	                                     <td>
                                        <span close="011"> 
                    <input type="checkbox" name="data[yz]" value="1"  <!--{if ($data.is_show==1)}-->checked<!--{/if}-->>
                    审核 </span> <span close="01"> 
                    <input type="checkbox" name="data[top]" value="1" <!--{if ($data.is_top==1)}-->checked<!--{/if}-->>
                    置顶 
                    <input type="checkbox" name="data[levels]" value="1" <!--{if ($data.is_recommend==1)}-->checked<!--{/if}-->>
                    推荐 </span> 
                   <input type='checkbox' name='data[special]' value='1'<!--{if ($data.is_index==1)}-->checked<!--{/if}--> >主页头条
                                         </td>

                                </tr>
                                

                                
                                  <tr >
	                                     <td colspan="2" align="left" >内容:<br/> <phpscup:form type='webeditor' width='100%' height='450' scrolling='no' frameborder='0' name='data[content]'  appname='companyprot'  sxdata=''  />
                       
                       
               								 
										 </td>


                                </tr>                                
                                                     
                                
                                <tr >
	                                     <td>&nbsp;</td>
	                                     <td><input name="id" type="hidden" value="{$data.id}" /><input type="submit" class="buton" value=" 提 交 " /></td>
                                </tr>
                                </table>
                                </form>

	</div>

</div>



<!-- 顶部开始 footer.html -->
<phpscup:icon   htmlname='footer1'  iconname='footer' />
<!-- 顶部结束 footer.html -->


</body>
</html>
